<?php
/**
 * Clase Base Bean para BaseImStockMovimBN
 *
 * @package    Sedapal
 * @subpackage BaseImStockMovimBN
 * @author     hans
 * @version    SVN:: BaseImStockMovimBN.class.php,v 1.1 2012-03-18 20:27:48 Hans.parra Exp $
 */
abstract class BaseImStockMovimBN
{
  protected $MovimId;
  protected $DocId;
  protected $DocNum;
  protected $AlmId;
  protected $ArtId;
  protected $Secuencia;
  protected $MovFecha;
  protected $IngSal;
  protected $MovTipo;
  protected $Cant;
  protected $CantAnt;
  protected $Costo;
  protected $DocReferenTipo;
  protected $DocReferenNro;
  protected $CreaUsr;
  protected $CreaFecha;
  protected $ModifUsr;
  protected $ModifFecha;
  protected $Mensaje;
  protected $Error;

  public function getMovimId(){
    return $this->MovimId;
  }
  public function setMovimId($v1){
    $this->MovimId = $v1; 
  }

  public function getDocId(){
    return $this->DocId;
  }
  public function setDocId($v1){
    $this->DocId = $v1; 
  }

  public function getDocNum(){
    return $this->DocNum;
  }
  public function setDocNum($v1){
    $this->DocNum = $v1; 
  }

  public function getAlmId(){
    return $this->AlmId;
  }
  public function setAlmId($v1){
    $this->AlmId = $v1; 
  }

  public function getArtId(){
    return $this->ArtId;
  }
  public function setArtId($v1){
    $this->ArtId = $v1; 
  }

  public function getSecuencia(){
    return $this->Secuencia;
  }
  public function setSecuencia($v1){
    $this->Secuencia = $v1; 
  }

  public function getMovFecha(){
    return $this->MovFecha;
  }
  public function setMovFecha($v1){
    $this->MovFecha = $v1; 
  }

  public function getIngSal(){
    return $this->IngSal;
  }
  public function setIngSal($v1){
    $this->IngSal = $v1; 
  }

  public function getMovTipo(){
    return $this->MovTipo;
  }
  public function setMovTipo($v1){
    $this->MovTipo = $v1; 
  }

  public function getCant(){
    return $this->Cant;
  }
  public function setCant($v1){
    $this->Cant = $v1; 
  }

  public function getCantAnt(){
    return $this->CantAnt;
  }
  public function setCantAnt($v1){
    $this->CantAnt = $v1; 
  }

  public function getCosto(){
    return $this->Costo;
  }
  public function setCosto($v1){
    $this->Costo = $v1; 
  }

  public function getDocReferenTipo(){
    return $this->DocReferenTipo;
  }
  public function setDocReferenTipo($v1){
    $this->DocReferenTipo = $v1; 
  }

  public function getDocReferenNro(){
    return $this->DocReferenNro;
  }
  public function setDocReferenNro($v1){
    $this->DocReferenNro = $v1; 
  }

  public function getCreaUsr(){
    return $this->CreaUsr;
  }
  public function setCreaUsr($v1){
    $this->CreaUsr = $v1; 
  }

  public function getCreaFecha(){
    return $this->CreaFecha;
  }
  public function setCreaFecha($v1){
    $this->CreaFecha = $v1; 
  }

  public function getModifUsr(){
    return $this->ModifUsr;
  }
  public function setModifUsr($v1){
    $this->ModifUsr = $v1; 
  }

  public function getModifFecha(){
    return $this->ModifFecha;
  }
  public function setModifFecha($v1){
    $this->ModifFecha = $v1; 
  }

  public function getMensaje(){
    return $this->Mensaje;
  }
  public function setMensaje($vl){
    $this->Mensaje = $vl;
  }

  public function getError(){
    return $this->Error;
  }
  public function setError($vl){
    $this->Error = $vl;
  }

  /* Recupera un objeto Im_stock_movimBN desde un RecordSet */
  public static function retrieveByRs( $o_Im_stock_movimRs )
  {
    $o_ImStockMovimBN = new ImStockMovimBN();
    $o_ImStockMovimBN->setMovimId( $o_Im_stock_movimRs['movimId'] );
    $o_ImStockMovimBN->setDocId( $o_Im_stock_movimRs['docId'] );
    $o_ImStockMovimBN->setDocNum( $o_Im_stock_movimRs['docNum'] );
    $o_ImStockMovimBN->setAlmId( $o_Im_stock_movimRs['almId'] );
    $o_ImStockMovimBN->setArtId( $o_Im_stock_movimRs['artId'] );
    $o_ImStockMovimBN->setSecuencia( $o_Im_stock_movimRs['secuencia'] );
    $o_ImStockMovimBN->setMovFecha( $o_Im_stock_movimRs['movFecha'] );
    $o_ImStockMovimBN->setIngSal( $o_Im_stock_movimRs['ingSal'] );
    $o_ImStockMovimBN->setMovTipo( $o_Im_stock_movimRs['movTipo'] );
    $o_ImStockMovimBN->setCant( $o_Im_stock_movimRs['cant'] );
    $o_ImStockMovimBN->setCantAnt( $o_Im_stock_movimRs['cantAnt'] );
    $o_ImStockMovimBN->setCosto( $o_Im_stock_movimRs['costo'] );
    $o_ImStockMovimBN->setDocReferenTipo( $o_Im_stock_movimRs['docReferenTipo'] );
    $o_ImStockMovimBN->setDocReferenNro( $o_Im_stock_movimRs['docReferenNro'] );
    $o_ImStockMovimBN->setCreaUsr( $o_Im_stock_movimRs['creaUsr'] );
    $o_ImStockMovimBN->setCreaFecha( $o_Im_stock_movimRs['creaFecha'] );
    $o_ImStockMovimBN->setModifUsr( $o_Im_stock_movimRs['modifUsr'] );
    $o_ImStockMovimBN->setModifFecha( $o_Im_stock_movimRs['modifFecha'] );
    return $o_ImStockMovimBN;
  }
}